﻿@model Janus.Mes.VO.SysConfigVO

@{
    Layout = null;
    var i = 1;
    ViewBag.ViewTitle = "水平管理—参数管理";
}
<div class="pageContent">
    <form method="post" action="System/SysConfig/create?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
          onsubmit="return validateCallback(this, dialogAjaxDone);">
        @Html.ValidationSummary(true)
        <div class="pageFormContent" layouth="96">
            <input id="hidIsCreate" name="hidIsCreate" type="hidden" value="@ViewBag.IsCreate" />
            @Html.HiddenFor(model => model.Id)
            <p>
                <label>
                    所属检验水平：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Key, new { @Readonly = "true", @Value = "IP1001" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Key)
            </p>
            <p>
                <label></label>
            </p>
            <div class="tabsContent" style="float:left; height: 150px;overflow:auto;">
                <table class="list nowrap itemDetail" isrownum="false" addButton="新建" width="100%">
                    <thead>
                        <tr>
                            <th type="text" name="items[#index#].itemint" size="12" fieldClass="required">序号</th>
                            <th type="text" name="items[#index#].itemint" size="12" fieldClass="required">批量上限</th>
                            <th type="text" name="items[#index#].itemint" size="12" fieldClass="required">批量下限</th>
                            <th type="text" name="items[#index#].itemint" size="12" fieldClass="required">抽样数</th>
                            <th type="text" name="items[#index#].itemint" size="12" fieldClass="required">充收数</th>
                            <th type="text" name="items[#index#].itemint" size="12" fieldClass="required">拒收数</th>
                            <th type="del" width="60">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr target="SampleDefin_id" rel="1">
                            <td type="text" name="items[#index#].itemint" size="12" fieldClass="required">序号</td>
                            <td type="text" name="items[#index#].itemint" size="12" fieldClass="required">批量上限</td>
                            <td type="text" name="items[#index#].itemint" size="12" fieldClass="required">批量下限</td>
                            <td type="text" name="items[#index#].itemint" size="12" fieldClass="required">抽样数</td>
                            <td type="text" name="items[#index#].itemint" size="12" fieldClass="required">充收数</td>
                            <td type="text" name="items[#index#].itemint" size="12" fieldClass="required">拒收数</td>
                            <td type="del" width="60">操作</td>
                        </tr>
                    </tbody>
                </table>
            </div>
            @Html.Partial("Operation", Model)
        </div>
        @Html.Partial("FormButtonBar")
    </form>
</div>
